package com.niiwoo.civet.mobile.vo.request.loan;

import java.math.BigDecimal;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 融360标的在你我金额APP确认借款
 *  
 * @author: kevin.jia
 * @version 1.0.0
 */
@Setter
@Getter
@ToString
@ApiModel(value = "融360标的在你我金额APP确认借款请求")
public class R360ConfirmLoanRequestVO {
	
    @NotNull(message = "标的ID不能为空")
    @ApiModelProperty(value = "标的ID", required = true)
    private Long projectId;

	@NotNull(message = "借款金额不能为空")
	@DecimalMin(value = "0", message = "借款金额不能小于0")
    @ApiModelProperty(value = "借款金额", required = true)
    private BigDecimal loanAmount;

	@NotNull(message = "借款期限不能为空")
	@ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;
}